package com.gxa.admin.service;



import com.gxa.o2o.core.exception.BusinessException;
import com.gxa.o2o.core.pojo.Admin;
import com.gxa.o2o.core.service.BaseService;


import java.util.Map;

public interface AdminService extends BaseService<Admin> {

 Admin login(Admin admin) throws BusinessException;
 Map<String, String> login(String phone, String code) throws BusinessException;
}
